[INFO] fetching crate erguotou 0.0.3...
[INFO] checking erguotou-0.0.3 against try#19b19c1ea5b23336f439d5f7be1cc1b3f1220bef for pr-112999
[INFO] extracting crate erguotou 0.0.3 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate erguotou 0.0.3 on toolchain 19b19c1ea5b23336f439d5f7be1cc1b3f1220bef
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate erguotou 0.0.3
[INFO] finished tweaking crates.io crate erguotou 0.0.3
[INFO] tweaked toml for crates.io crate erguotou 0.0.3 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4b4a330d532cfc3fbf74cb6b4550ac48fdcfd3fbf70ee66ee5d907691a3adfbe
[INFO] running `Command { std: "docker" "start" "-a" "4b4a330d532cfc3fbf74cb6b4550ac48fdcfd3fbf70ee66ee5d907691a3adfbe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4b4a330d532cfc3fbf74cb6b4550ac48fdcfd3fbf70ee66ee5d907691a3adfbe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b4a330d532cfc3fbf74cb6b4550ac48fdcfd3fbf70ee66ee5d907691a3adfbe", kill_on_drop: false }`
[INFO] [stdout] 4b4a330d532cfc3fbf74cb6b4550ac48fdcfd3fbf70ee66ee5d907691a3adfbe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+19b19c1ea5b23336f439d5f7be1cc1b3f1220bef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 550b6bd62d2d4782e4ff0af38a3ff0f9bc824f6e5a7753b3d54199f2caa54995
[INFO] running `Command { std: "docker" "start" "-a" "550b6bd62d2d4782e4ff0af38a3ff0f9bc824f6e5a7753b3d54199f2caa54995", kill_on_drop: false }`
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking traitobject v0.1.0
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking unsafe-any v0.4.2
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stderr]     Checking typeable v0.1.2
[INFO] [stderr]     Checking typemap v0.3.3
[INFO] [stderr]     Checking mime v0.2.6
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]     Checking language-tags v0.2.2
[INFO] [stderr]     Checking plugin v0.2.6
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]     Checking modifier v0.1.0
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]    Compiling tokio v1.28.2
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking hyper v0.10.16
[INFO] [stderr]     Checking futures-util v0.3.28
[INFO] [stderr]     Checking futures-channel v0.3.28
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking route-recognizer v0.1.13
[INFO] [stderr]     Checking maplit v1.0.2
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling mime_guess v1.8.8
[INFO] [stderr]     Checking hyper v0.14.26
[INFO] [stderr]     Checking erguotou v0.0.3 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `hyper::client`
[INFO] [stdout]  --> src/json.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | use hyper::client::{IntoUrl, RequestBuilder};
[INFO] [stdout]   |            ^^^^^^ could not find `client` in `hyper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `hyper::header::ContentType`
[INFO] [stdout]  --> src/json.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use hyper::header::ContentType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ContentType` in `header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `url::form_urlencoded::serialize`
[INFO] [stdout]  --> src/form.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use url::form_urlencoded::serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^---------
[INFO] [stdout]   |     |                     |
[INFO] [stdout]   |     |                     help: a similar name exists in the module: `Serializer`
[INFO] [stdout]   |     no `serialize` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `hyper::client`
[INFO] [stdout]  --> src/form.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | use hyper::client::{IntoUrl, RequestBuilder};
[INFO] [stdout]   |            ^^^^^^ could not find `client` in `hyper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `hyper::header::ContentType`
[INFO] [stdout]  --> src/form.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use hyper::header::ContentType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ContentType` in `header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: patterns aren't allowed in functions without bodies
[INFO] [stdout]   --> src/json.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |     fn json(mut self, data: &'a mut JsonParam<'a>) -> RequestBuilder<'a, U>;
[INFO] [stdout]    |             ^^^^^^^^ help: remove `mut` from the parameter: `self`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #35203 <https://github.com/rust-lang/rust/issues/35203>
[INFO] [stdout]    = note: `#[deny(patterns_in_fns_without_body)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: patterns aren't allowed in functions without bodies
[INFO] [stdout]   --> src/form.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |     fn form(mut self, data: &'a mut FormParam<'a>) -> RequestBuilder<'a, U>;
[INFO] [stdout]    |             ^^^^^^^^ help: remove `mut` from the parameter: `self`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #35203 <https://github.com/rust-lang/rust/issues/35203>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/json.rs:9:16
[INFO] [stdout]   |
[INFO] [stdout] 9 |     value: &'a ToJson,
[INFO] [stdout]   |                ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 9 |     value: &'a dyn ToJson,
[INFO] [stdout]   |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/form.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 |     value: &'a ToForm,
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 19 |     value: &'a dyn ToForm,
[INFO] [stdout]    |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/json.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl<'a> From<&'a ToJson> for JsonParam<'a> {
[INFO] [stdout]    |                   ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl<'a> From<&'a dyn ToJson> for JsonParam<'a> {
[INFO] [stdout]    |                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `erguotou` (lib) due to 8 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "550b6bd62d2d4782e4ff0af38a3ff0f9bc824f6e5a7753b3d54199f2caa54995", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "550b6bd62d2d4782e4ff0af38a3ff0f9bc824f6e5a7753b3d54199f2caa54995", kill_on_drop: false }`
[INFO] [stdout] 550b6bd62d2d4782e4ff0af38a3ff0f9bc824f6e5a7753b3d54199f2caa54995
